package com.xing.web.i18n;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by Bradish7Y on 2017/9/1.
 */
@Controller
public class LocaleController {

    @Autowired
    private MessageSource messageSource;

    @GetMapping("change/lang")
    public String changeLanguage() {
        return "redirect:/";
    }


}
